package com.ruoyi.web.controller.common;

import com.ruoyi.common.utils.StringUtils;
import io.swagger.annotations.Api;

/**
 *
 * HttpCode
 *
 * 错误码
 *
 * 错误信息
 *
 * 描述
 *
 * 101
 *
 * 10001
 *
 * The request has timed out.
 *
 * 请求超时
 *
 * 102
 *
 * 10002
 *
 * A system error occurred.
 *
 * 系统错误
 *
 * 103
 *
 * 10003
 *
 * An error occurred while decoding the URL. Verify that the specified URL is encoded.
 *
 * 原文解码失败，请检查原文是否UrlEncode
 *
 * 104
 *
 * 10004
 *
 * Some required parameters are missing.
 *
 * 参数缺失
 *
 * 105
 *
 * 10005
 *
 * The specified language pair is not supported.
 *
 * 语项不支持
 *
 * 106
 *
 * 10006
 *
 * An error occurred while detecting the language.
 *
 * 语种识别失败
 *
 * 107
 *
 * 10007
 *
 * An error occurred while translating.
 *
 * 翻译失败
 *
 * 108
 *
 * 10008
 *
 * The specified string is too long.
 *
 * 字符长度过长
 *
 * 199
 *
 * 19999
 *
 * An unknown error occurred.
 *
 * 未知异常
 *
 * 109
 *
 * 10009
 *
 * 子账号没有权限
 *
 * 子账号没有权限
 *
 * 110
 *
 * 10010
 *
 * 账号没有开通服务
 *
 * 账号没有开通服务
 *
 * 111
 *
 * 10011
 *
 * 子账号服务失败
 *
 * 子账号服务失败
 *
 * 112
 *
 * 10012
 *
 * 翻译服务调用失败
 *
 * 翻译服务调用失败
 *
 * 113
 *
 * 10013
 *
 * 账号服务没有开通或者欠费
 *
 * 账号服务没有开通或者欠费
 */

@Api("翻译工具类")
public class TranslateUtil {

    public static String toTranslateApi(String sourceLangCode, String targetLangCode, String sourceText) {

        return null;
    }

    public static String saveTranslateInfo(String sourceLangCode, String targetLangCode, String sourceText) {

        return null;
    }


}
